home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / tutorii.zip / BGOTO.DAT < prev    next >
Text File  |  1991-11-29  |  525b  |  17 lines

  1. Explanation of the GOTO command. It is a 
  2. BATCH command.
  3. This command tells the batch file to go 
  4. to a certain label in the batch file, and 
  5. possibly skip a part of the program.
  6.  
  7. Example:
  8.        To let your batch file skip something 
  9.        and go on  somewhere else use this 
  10.        type of command in your BAT file:
  11.           Echo off
  12.           format a: /s
  13.           if not errorlevel 1 GOTO end
  14.           echo An error ocurred during 
  15.           formatting
  16.           :end
  17.           echo End of batch prog.